//
//  ZHSheetViewCell.h
//  sc-cyan-ios
//
//  Created by lj on 2017/12/27.
//  Copyright © 2017年 greenbuilding. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef UIView *(^cellForItemAtIndexPathBlock)(NSIndexPath *indexPath,CGRect rect);
typedef NSInteger(^numberOfItemsInSectionBlock)(NSInteger section);
typedef CGSize(^sizeForItemAtIndexPathBlock)(UICollectionViewLayout * collectionViewLayout, NSIndexPath *indexPath);
typedef void(^ContentViewCellDidScrollBlock)(UIScrollView *scroll);
typedef BOOL(^cellWithColorAtIndexPathBlock)(NSIndexPath *indexPath);
typedef void(^didSelectItemBlock)(NSIndexPath *indexPath);

@interface ZHSheetViewCell : UITableViewCell

@property (nonatomic, strong) cellForItemAtIndexPathBlock cellForItemBlock;
@property (nonatomic, strong) numberOfItemsInSectionBlock numberOfItemsBlock;
@property (nonatomic, strong) sizeForItemAtIndexPathBlock sizeForItemBlock;
@property (nonatomic, strong) ContentViewCellDidScrollBlock contentViewCellDidScrollBlock;
@property (nonatomic, strong) cellWithColorAtIndexPathBlock cellWithColorBlock;
@property (nonatomic, strong) didSelectItemBlock cellDidSelectBlock;

@property (nonatomic, strong) UICollectionView *cellCollectionView;

@end
